![]() |
LanguageOrder |
||||
Header: | StringCompare.h | Carbon status: | Supported | |
Determines the order in which strings in two different languages should be sorted.
SInt16 LanguageOrder ( LangCode language1, LangCode language2 );
The language code of the first language.
The language code of the second language.
A value that indicates the sorting order: –1 if strings in the first language should be sorted before sorting text in the second language, 1 if strings in the first language should be sorted after sorting strings in the second language, or 0 if the sorting order does not matter (that is, if the languages are the same).0
LanguageOrder takes a pair of language codes and determines in which order strings from the first language should be sorted relative to strings from the second language.
LanguageOrder may move memory; your application should not call this function at interrupt time.
Supported in Carbon. Available in CarbonLib 1.0 and later. Exported by CarbonLib 1.0 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)